package com.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.entity.sys.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: Email
 * @Author: ARongzhe
 * @Date: 2022/04/27 20:59:21
 * @Description: 关于邮件的实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_email")
public class Email extends BaseEntity {
    @ApiModelProperty(value = "收件人")
    @TableField(value = "mail_to", fill = FieldFill.INSERT)
    private String mailTo;
    @ApiModelProperty(value = "发件人")
    @TableField(value = "mail_from", fill = FieldFill.INSERT)
    private String mailFrom;
    @ApiModelProperty(value = "抄送人")
    @TableField(value = "mail_cc", fill = FieldFill.INSERT)
    private String mailCc;
    @ApiModelProperty(value = "主题")
    @TableField(value = "mail_subject", fill = FieldFill.INSERT)
    private String mailSubject;
    @ApiModelProperty(value = "邮件内容")
    @TableField(value = "mail_text", fill = FieldFill.INSERT)
    private String mailText;

    @ApiModelProperty(value = "使用UUID作为唯一标识")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private String updateTime;

    @TableField(value = "update_by", fill = FieldFill.UPDATE)
    private String updateBy;
    @TableField(value = "mail_address",fill = FieldFill.INSERT)
    private String mailAddress;

    @TableField(value = "accessory_address_statu",fill = FieldFill.INSERT)
    private String accessoryAddressStatu;


}
